<%@ include file="/WEB-INF/jspf/directive/taglib.jspf"%>

<html>

<c:set var="title">
	<fmt:message key="newaccount.title.text" />
</c:set>
<%@ include file="/WEB-INF/jspf/head.jspf"%>

<body>
	<div class="container small-form">
		<form id="account_form" action="controller">
			<input type="hidden" name="command" value="createAccount" />

			<fieldset>
				<legend><fmt:message key="newaccount.label.choosevaluta" /></legend>
				<select name="valuta" style="padding: 0 0px; width: 100%;">

					<c:forEach var="valuta" items="${applicationScope['valutas']}">
						<option>
							<c:out value="${valuta.value.shortName}"></c:out>
						</option>
					</c:forEach>

				</select>
			</fieldset>
			<br>
			<button type="submit" class="btn btn-large btn-block">
				<fmt:message key="newaccount.button.create" />
			</button>
			<a href="controller?command=browseAccounts"
				class="btn btn-large btn-block">
				<fmt:message key="newaccount.button.back" />
			</a>
		</form>
	</div>
</body>
</html>